package com.mycom.controller.constant;

public class Code {
    public static final Integer SAVE_SUCCESS=20011;
    public static final Integer DELETE_SUCCESS=20021;
    public static final Integer UPDATE_SUCCESS=20031;
    public static final Integer QUERY_SUCCESS=20041;
    public static final Integer QUERY_ALL_SUCCESS=20051;

    public static final Integer SAVE_ERR=20010;
    public static final Integer DELETE_ERR=20020;
    public static final Integer UPDATE_ERR=20030;
    public static final Integer QUERY_ERR=20040;
    public static final Integer QUERY_ALL_ERR=20050;

    //系统出现异常对应的编码
    public static final Integer SYSTEM_UNKNOWN_ERR=50001;
    public static final Integer SYSTEM_TIMEOUT_ERR=50002;

    public static final Integer BUSINESS_ERR=60001;
}
